﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuanNianYSLHZ.aspx.cs" Inherits="Web.Pages.QuShui.DiXiaS.ChaXunGL.QuanNianYSLHZ"  Theme="Default"%>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../../../../JS/jquery.js" type="text/javascript"></script>
    <script src="../../../../JS/AddEditCancel.js" type="text/javascript"></script>
    <link href="../../../../css/inputBgColor.css" rel="stylesheet" />
   
</head>
<body>
    <form id="form1" runat="server">
         <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            全年用水量汇总
        </div> 
      <asp:UpdatePanel ID="updatePanel1" runat="server">
            <ContentTemplate>
              
                <div>
                    <dx:ASPxPageControl ID="ASPxPageControl1" ClientInstanceName="ASPxPageControl1" runat="server" ActiveTabIndex="0" Width="98%" AutoPostBack="false">                      
                        <TabPages>
                            <dx:TabPage Text="全年用户用水汇总">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div style=" height: 30px; width:100%;">
                                            <table>
                                                <tr>
                                                    <td style="width: 5%">水量年：
                                                    </td>
                                                    <td style="width: 10%">
                                                        <dx:ASPxTextBox ID="txtNian1" ClientInstanceName="txtNian1" runat="server" Width="80%">
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                    <td style="float:right;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                    <dx:ASPxLoadingPanel runat="server" ID="LoadPanel" ClientInstanceName="LoadPanel" Text="正在查询"></dx:ASPxLoadingPanel>
                                                        <dx:ASPxButton runat="server" ID="btnChaXun" Text="查询"  UseSubmitBehavior="false">
                                                            <ClientSideEvents Click="function(s,e){LoadPanel.Show();}" />
                                                        </dx:ASPxButton>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div style="border: 1px solid #d0e4fe;">
                                            <div>
                                                <dx:ASPxGridView ID="gvGridTab1" ClientInstanceName="gvGridTab1" runat="server" AutoGenerateColumns="False"
                                                    KeyFieldName="" EnableCallBacks="true" ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="300">
                                                        </dx:GridViewDataTextColumn>
                                                         <dx:GridViewDataTextColumn FieldName="" Caption="行政区" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_SLYM" Caption="环线内外" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_KZYM" Caption="普通采" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_CHUKAIJE" Caption="矿泉采" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_SHISHOUJE" Caption="采灌采" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_QIANFEITZ" Caption="采灌灌" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_QIANFEI" Caption="专灌" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YEWUYM" Caption="开采计划量" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_SHISHOUYK" Caption="回灌计划量" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                    </Columns>

                                                    <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto" />
                                                    <SettingsPager Mode="EndlessPaging" PageSize="100" FirstPageButton-Visible="true" />
                                                    <Settings ShowFooter="True" />
                                                    <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                                    <ClientSideEvents Init="function(s,e){AdjustSize(295,gvGridTab1);}" />
                                                    <%-- <ClientSideEvents FocusedRowChanged="function(s,e){rowClick();}" />--%>
                                                </dx:ASPxGridView>
                                            </div>
                                            <div style="margin-top: 20px;">
                                                <fieldset style="border: 1px solid #d0e4fe;">
                                                    <table style="text-align: right; height: 30px; width: 100%;">
                                                        <tr>
                                                             <td style="width: 5%;">
                                                                <dx:ASPxLabel runat="server" ForeColor="Blue" ID="lbZongYeStab1" Text="共0条"></dx:ASPxLabel>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </div>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="全年井用水汇总">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div style=" height: 30px; width:100%;">
                                            <table>
                                                <tr>
                                                    <td style="width: 5%">水量年：
                                                    </td>
                                                    <td style="width: 10%">
                                                        <dx:ASPxTextBox ID="txtNian2" ClientInstanceName="txtNian2" runat="server" Width="80%">
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                    <td style="float:right;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                    <dx:ASPxLoadingPanel runat="server" ID="LoadPanel2" ClientInstanceName="LoadPanel2" Text="正在查询"></dx:ASPxLoadingPanel>
                                                        <dx:ASPxButton runat="server" ID="btnChaXun2" Text="查询"  UseSubmitBehavior="false">
                                                            <ClientSideEvents Click="function(s,e){LoadPanel2.Show();}" />
                                                        </dx:ASPxButton>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div> 
                                            <div>
                                                <dx:ASPxGridView ID="gvGridTab2" ClientInstanceName="gvGridtab2" runat="server" AutoGenerateColumns="False" KeyFieldName=""
                                                    EnableCallBacks="true" ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="" Caption="井编号" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="280">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_SLYM" Caption="行政区" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_SHOUFEIRQ" Caption="环线内外" Width="80" >
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="N_SHOUFEIJE" Caption="行业类别" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_SHOUFEIFS" Caption="取水地点" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_YEWUY" Caption="层次" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YINHANGZH" Caption="许可证号" Width="130">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_KAIHUYH" Caption="井类型" Width="180">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_KAIHUYHMC" Caption="普通采" Width="200">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_TUOSHOUPZH" Caption="矿泉采" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="SHOUFEIY" Caption="采灌采" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="D_CAOZUORQ" Caption="采灌灌" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_FAPIAOBH" Caption="专灌" Width="120">
                                                        </dx:GridViewDataTextColumn>
                                                    </Columns>
                                                    <Settings VerticalScrollBarMode="Visible" VerticalScrollableHeight="400" HorizontalScrollBarMode="Auto" />
                                                    <SettingsPager Mode="EndlessPaging" PageSize="100" AlwaysShowPager="true" FirstPageButton-Visible="true" />
                                                    <Settings ShowFooter="True" />
                                                    <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                                    <ClientSideEvents Init="function(s,e){AdjustSize(265,gvGridtab2);}" />
                                                    <%--<Settings  VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="true" />--%>
                                                </dx:ASPxGridView>
                                            </div>
                                            <div style="margin-top: 20px;">
                                                <fieldset style="border: 1px solid #d0e4fe;">
                                                    <table style="text-align: right; height: 30px; width: 100%;">
                                                        <tr>
                                                            <td style="width: 10%;">
                                                                <dx:ASPxTextBox runat="server" ID="txtDaoZhangSLHZtab2" Width="80%" Enabled="false" HorizontalAlign="Right"></dx:ASPxTextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </div>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                        </TabPages>
                    </dx:ASPxPageControl>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
